/* Copyright 2018 JDCLOUD.COM

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http:#www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

storage相关 API
流计算storage相关信息接口

OpenAPI spec version: v1
Contact: 

NOTE: This class is auto generated by the jdcloud code generator program.
*/


#ifndef StreamcomputerApiModel_h
#define StreamcomputerApiModel_h
#import <JDCloudOCSDKCore/JDCloudOCSDKCore.h>
#import <JDCloudOCSDKStreamcomputer/StreamcomputerModel.h>


@interface StreamcomputerDeleteJobRequest:JDCloudRequest

/// NamespaceId
@property (strong,nonatomic,nonnull)  NSString*  namespaceId;
/// JobId
@property (strong,nonatomic,nonnull)  NSNumber*  jobId;
-(id) initWithRegion:(NSString *)regionId
namespaceId:(NSString*)namespaceId
jobId:(NSNumber*)jobId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
namespaceId:(NSString*)namespaceId
jobId:(NSNumber*)jobId;

@end

@interface StreamcomputerDescribeJobRequest:JDCloudRequest

/// JobId
@property (strong,nonatomic,nonnull)  NSNumber*  jobId;
/// NamespaceId
@property (strong,nonatomic,nonnull)  NSNumber*  namespaceId;
-(id) initWithRegion:(NSString *)regionId
jobId:(NSNumber*)jobId
namespaceId:(NSNumber*)namespaceId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
jobId:(NSNumber*)jobId
namespaceId:(NSNumber*)namespaceId;

@end

@interface StreamcomputerDeleteJobResult : NSObject
/// 删除job返回信息
 @property (strong,nonatomic,nonnull)  NSString*  message;
/// Status
 @property (strong,nonatomic,nonnull)  NSNumber*  status;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithMessage:(NSString*) message

    status:(NSNumber*)status;
@end

@interface StreamcomputerGetJobListRequest:JDCloudRequest

/// NamespaceId
@property (strong,nonatomic,nonnull)  NSString*  namespaceId;
-(id) initWithRegion:(NSString *)regionId
namespaceId:(NSString*)namespaceId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
namespaceId:(NSString*)namespaceId;

@end

@interface StreamcomputerStopJobResult : NSObject
/// 成功启动作业返回信息
 @property (strong,nonatomic,nonnull)  NSString*  message;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithMessage:(NSString*) message;
@end

@interface StreamcomputerStartJobResult : NSObject
/// 是否成功提交作业
 @property (strong,nonatomic,nonnull)  NSString*  message;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithMessage:(NSString*) message;
@end

@interface StreamcomputerStartJobRequest:JDCloudRequest

/// NamespaceId
@property (strong,nonatomic,nonnull)  NSString*  namespaceId;
/// JobId
@property (strong,nonatomic,nonnull)  NSNumber*  jobId;
-(id) initWithRegion:(NSString *)regionId
namespaceId:(NSString*)namespaceId
jobId:(NSNumber*)jobId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
namespaceId:(NSString*)namespaceId
jobId:(NSNumber*)jobId;

@end

@interface StreamcomputerStopJobRequest:JDCloudRequest

/// NamespaceId
@property (strong,nonatomic,nonnull)  NSString*  namespaceId;
/// JobId
@property (strong,nonatomic,nonnull)  NSNumber*  jobId;
-(id) initWithRegion:(NSString *)regionId
namespaceId:(NSString*)namespaceId
jobId:(NSNumber*)jobId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
namespaceId:(NSString*)namespaceId
jobId:(NSNumber*)jobId;

@end

@interface StreamcomputerQueryNamespaceDetailRequest:JDCloudRequest

/// NamespaceId
@property (strong,nonatomic,nonnull)  NSNumber*  namespaceId;
-(id) initWithRegion:(NSString *)regionId
namespaceId:(NSNumber*)namespaceId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
namespaceId:(NSNumber*)namespaceId;

@end

@interface StreamcomputerUpdateNamespaceResult : NSObject
/// 更新成功标志
 @property (strong,nonatomic,nonnull)  NSNumber*  status;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithStatus:(NSNumber*) status;
@end

@interface StreamcomputerDeleteNamespaceResult : NSObject
/// 删除namespace成功标志
 @property (strong,nonatomic,nonnull)  NSNumber*  status;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithStatus:(NSNumber*) status;
@end

@interface StreamcomputerCreateNamespaceResult : NSObject
/// 创建成功标志
 @property (strong,nonatomic,nonnull)  NSNumber*  status;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithStatus:(NSNumber*) status;
@end

@interface StreamcomputerDeleteNamespaceRequest:JDCloudRequest

/// NamespaceId
@property (strong,nonatomic,nonnull)  NSNumber*  namespaceId;
-(id) initWithRegion:(NSString *)regionId
namespaceId:(NSNumber*)namespaceId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
namespaceId:(NSNumber*)namespaceId;

@end

@interface StreamcomputerQueryNamespacesRequest:JDCloudRequest

/// Keyword
@property (strong,nonatomic,nonnull)  NSString*  keyword;
-(id) initWithRegion:(NSString *)regionId
keyword:(NSString*)keyword;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
keyword:(NSString*)keyword;

@end

@interface StreamcomputerDeleteStorageResult : NSObject
/// Message
 @property (strong,nonatomic,nonnull)  NSString*  message;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithMessage:(NSString*) message;
@end

@interface StreamcomputerGetStorageListRequest:JDCloudRequest

/// storage类型
@property (strong,nonatomic,nonnull)  NSString*  storageType;
/// namespaceId
@property (strong,nonatomic,nonnull)  NSString*  namespaceId;
-(id) initWithRegion:(NSString *)regionId
storageType:(NSString*)storageType
namespaceId:(NSString*)namespaceId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
storageType:(NSString*)storageType
namespaceId:(NSString*)namespaceId;

@end

@interface StreamcomputerAddOrUpdateStorageResult : NSObject
/// Message
 @property (strong,nonatomic,nonnull)  NSString*  message;
/// Status
 @property (strong,nonatomic,nonnull)  NSNumber*  status;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithMessage:(NSString*) message

    status:(NSNumber*)status;
@end

@interface StreamcomputerDescribeStorageRequest:JDCloudRequest

/// storageId
@property (strong,nonatomic,nonnull)  NSNumber*  storageId;
-(id) initWithRegion:(NSString *)regionId
storageId:(NSNumber*)storageId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
storageId:(NSNumber*)storageId;

@end

@interface StreamcomputerDeleteStorageRequest:JDCloudRequest

/// storageId
@property (strong,nonatomic,nonnull)  NSNumber*  storageId;
-(id) initWithRegion:(NSString *)regionId
storageId:(NSNumber*)storageId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
storageId:(NSNumber*)storageId;

@end

@interface StreamcomputerAddOrUpdateJobRequest:JDCloudRequest

/// 创建作业的详情
@property (strong,nonatomic,nonnull)  JobStr*  jobStr;
-(id) initWithRegion:(NSString *)regionId
jobStr:(JobStr*)jobStr;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
jobStr:(JobStr*)jobStr;

@end

@interface StreamcomputerDescribeJobResult : NSObject
/// JobStr
 @property (strong,nonatomic,nonnull)  JobStr*  jobStr;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithJobStr:(JobStr*) jobStr;
@end

@interface StreamcomputerDeleteJobResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property StreamcomputerDeleteJobResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(StreamcomputerDeleteJobResult*) result;
@end

@interface StreamcomputerGetJobListResult : NSObject
/// Data
 @property (strong,nonatomic,nonnull)  NSArray<JobStr*>*  data;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithData:(NSArray<JobStr*>*) data;
@end

@interface StreamcomputerGetJobListResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property StreamcomputerGetJobListResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(StreamcomputerGetJobListResult*) result;
@end

@interface StreamcomputerDescribeJobResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property StreamcomputerDescribeJobResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(StreamcomputerDescribeJobResult*) result;
@end

@interface StreamcomputerAddOrUpdateJobResult : NSObject
/// 成功结果对象
 @property (strong,nonatomic,nonnull)  OkInfo*  okInfo;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithOkInfo:(OkInfo*) okInfo;
@end

@interface StreamcomputerStopJobResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property StreamcomputerStopJobResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(StreamcomputerStopJobResult*) result;
@end

@interface StreamcomputerAddOrUpdateJobResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property StreamcomputerAddOrUpdateJobResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(StreamcomputerAddOrUpdateJobResult*) result;
@end

@interface StreamcomputerStartJobResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property StreamcomputerStartJobResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(StreamcomputerStartJobResult*) result;
@end

@interface StreamcomputerCreateNamespaceRequest:JDCloudRequest

/// NamespaceStr
@property (strong,nonatomic,nonnull)  Namespace*  namespaceStr;
-(id) initWithRegion:(NSString *)regionId
namespaceStr:(Namespace*)namespaceStr;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
namespaceStr:(Namespace*)namespaceStr;

@end

@interface StreamcomputerUpdateNamespaceRequest:JDCloudRequest

/// NamespaceStr
@property (strong,nonatomic,nonnull)  Namespace*  namespaceStr;
-(id) initWithRegion:(NSString *)regionId
namespaceStr:(Namespace*)namespaceStr;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
namespaceStr:(Namespace*)namespaceStr;

@end

@interface StreamcomputerCreateNamespaceResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property StreamcomputerCreateNamespaceResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(StreamcomputerCreateNamespaceResult*) result;
@end

@interface StreamcomputerQueryNamespacesResult : NSObject
/// Namespaces
 @property (strong,nonatomic,nonnull)  NSArray<Namespace*>*  namespaces;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithNamespaces:(NSArray<Namespace*>*) namespaces;
@end

@interface StreamcomputerQueryNamespacesResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property StreamcomputerQueryNamespacesResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(StreamcomputerQueryNamespacesResult*) result;
@end

@interface StreamcomputerQueryNamespaceDetailResult : NSObject
/// 查询出的namespace对象
 @property (strong,nonatomic,nonnull)  Namespace*  namespace;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithNamespace:(Namespace*) namespace;
@end

@interface StreamcomputerQueryNamespaceDetailResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property StreamcomputerQueryNamespaceDetailResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(StreamcomputerQueryNamespaceDetailResult*) result;
@end

@interface StreamcomputerUpdateNamespaceResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property StreamcomputerUpdateNamespaceResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(StreamcomputerUpdateNamespaceResult*) result;
@end

@interface StreamcomputerDeleteNamespaceResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property StreamcomputerDeleteNamespaceResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(StreamcomputerDeleteNamespaceResult*) result;
@end

@interface StreamcomputerDescribeStorageResult : NSObject
/// Data
 @property (strong,nonatomic,nonnull)  Storage*  data;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithData:(Storage*) data;
@end

@interface StreamcomputerDescribeStorageResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property StreamcomputerDescribeStorageResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(StreamcomputerDescribeStorageResult*) result;
@end

@interface StreamcomputerAddOrUpdateStorageRequest:JDCloudRequest

/// 创建或者更新storage的详情
@property (strong,nonatomic,nonnull)  Storage*  storageStr;
-(id) initWithRegion:(NSString *)regionId
storageStr:(Storage*)storageStr;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
storageStr:(Storage*)storageStr;

@end

@interface StreamcomputerDeleteStorageResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property StreamcomputerDeleteStorageResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(StreamcomputerDeleteStorageResult*) result;
@end

@interface StreamcomputerGetStorageListResult : NSObject
/// StorageList
 @property (strong,nonatomic,nonnull)  NSArray<Storage*>*  storageList;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithStorageList:(NSArray<Storage*>*) storageList;
@end

@interface StreamcomputerAddOrUpdateStorageResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property StreamcomputerAddOrUpdateStorageResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(StreamcomputerAddOrUpdateStorageResult*) result;
@end

@interface StreamcomputerGetStorageListResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property StreamcomputerGetStorageListResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(StreamcomputerGetStorageListResult*) result;
@end

#endif /* StreamcomputerApiModel_h */
